package com.example.vehicle.Performance;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @name: ChainInitial
 * @description: 初始化仿真环境，区块链中存储10000条车辆信息。
 * @author: Lulu Zhao
 **/
public class ChainInitial {
    /**
     * @name: main
     * @description: 初始化仿真环境主函数。
     * @params: [args]
     * @return: void
     * @author: Lulu Zhao
     */
    public static void main(String[] args) {
        ExecutorService executor = Executors.newFixedThreadPool(2);
        executor.execute(new Register());
        executor.execute(new Register());
        executor.shutdown();
    }
}
